package com.jun.common.redis.aspect.anno;

import com.jun.common.redis.config.*;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author yuejun.li
 * @date 2024/7/15 14:22:09
 * 集群注解
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
//Import导入，相关的类无需加@Component
//导入序列化配置、工具类、布隆过滤器配置、注解类
@Import({
        RedisClusterConfig.class,
        RedisUtilConfig.class,
        BloomFilterConfig.class,
        RedisAspectConfig.class,
        RedissonConfig.class
})
public @interface EnableClusterRedis {
}
